package sort;

/**
 * SortStrategy
 *
 * @author admin
 * @version 2023/11/02 10:09
 **/
public interface SortStrategy {
    default void swap(int i,int j,int[] a) {
        int t=a[i];
        a[i]=a[j];
        a[j]=t;
    }
    void sort(int[] a);
}
